package com.apache.uct.common;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("root")
public class Root {
	public static Root getRootInstance(){
		return new Root();
	}
	
	//响应结果
	@XStreamAlias("result")
	private String result;
	
	//返回信息
	@XStreamAlias("info")
	private String info;
	
	//结果集总个数
//	@XStreamAlias("sumRecords")
//	private String sumRecords;
	
	//结果集封装对象
//	@XStreamAlias("records")
//	private Records records;
	
	//@XStreamOmitField
	@XStreamAlias("entity")
	private Object entity;


//	public Records getRecords() {
//		return records;
//	}
//
//	public void setRecords(Records records) {
//		this.records = records;
//	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	
	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

//	public String getSumRecords() {
//		return sumRecords;
//	}
//
//	public void setSumRecords(String sumRecords) {
//		this.sumRecords = sumRecords;
//	}
	public Object getEntity() {
		return entity;
	}
	public void setEntity(Object entity) {
		this.entity = entity;
	}

	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	
}
